package com.baidu.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 创作时间：2019/12/11 13:37
 * 作者：李增强
 */
public class UserBean {

    private Integer id;
    private String uname;
    private Integer age;
    private String url;
    private String pwd;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private DeptBean db = new DeptBean();
    private RoleBean rb = new RoleBean();

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public DeptBean getDb() {
        return db;
    }

    public void setDb(DeptBean db) {
        this.db = db;
    }

    public RoleBean getRb() {
        return rb;
    }

    public void setRb(RoleBean rb) {
        this.rb = rb;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
